package cn.jxau.fukin.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.jxau.fukin.dao.FeedbackMapper;
import cn.jxau.fukin.model.Feedback;
import cn.jxau.fukin.service.IFeedbackService;

@Service("feedbackService")
public class FeedbackService implements IFeedbackService {

	@Autowired
	FeedbackMapper feedbackMapper;

	public List<Feedback> selectFeedbacks() {
		return feedbackMapper.selectFeedbacks();
	}

	@Override
	public void insertFeedBack(Feedback feedback) {
		feedbackMapper.insert(feedback);
	}
}
